import Vue from "vue";
import Router from "vue-router";

Vue.use(Router);

export default new Router({
    routes: [
        {
            path: "*",
            redirect: "/index",
        },
        {
            path: "/index",
            name: "index",
            component: require("@/views/index").default,
            meta: { index: 1 },
        },
    ],
});
